Fix force loading of libreforge.jar multiple times #170
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
At present, nobody can really use custom libreforge forks with multiple eco plugins. This PR fixes this issue by preventing the eco plugins from force-loading libreforge multiple times.
Use case
I would like to disable/improve a lot of holder updates and make changes to the other eco plugins as well to optimize the hell out of them and remove the refreshes I don't need, or to make the entire effect system semi async maybe. I need to test it with almost every eco plugin if I ever want to merge this back (though I highly doubt you would accept something like this).
Will be much easier if this would just work and I wouldn't need to patch every eco plugin individually, to properly force load custom versions of libreforge.